package com.bmf.admin.module.scenario.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 阶段(Section)表实体类
 *
 * @author aries
 * @since 2024-08-20 12:11:14
 */
@Data
@Schema(description = "阶段")
@TableName("scenario_section")
public class ScenarioSection extends BaseAuditable implements Serializable {

    @Schema(description = "想定id")
    private String scenarioId;

    @Schema(description = "阶段名")
    private String sectionName;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "持续时间（s）")
    private Long duration;

    @TableField(exist = false)
    @Schema(description = "流程列表")
    private List<ScenarioFlow> flowList;

}

